package com.cx.purchase.plan.service;



import com.cx.purchase.config.ResultVO;
import com.cx.purchase.plan.model.PlanClassAddVo;
import com.cx.purchase.plan.model.PlanClassSelectVo;
import com.cx.purchase.plan.model.PlanClassUpdateStatusVo;
import com.cx.purchase.plan.model.PlanClassUpdateVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;


public interface PlanService {
    ResultVO queryPage(PlanClassSelectVo planClassSelectVo);

    ResultVO add(PlanClassAddVo planClassAddVo);

    ResultVO update(PlanClassUpdateVo planClassUpdateVo);

    ResultVO queryById(Integer id);

    ResultVO updateStatus(PlanClassUpdateStatusVo planClassUpdateStatusVo);

    ResultVO importFile(MultipartFile file) throws Exception;

    ResultVO exportFile(PlanClassSelectVo planClassSelectVo, HttpServletResponse response)throws Exception;
}
